#pragma once

class AnemoParser
{
private:
	char m_buffer[201];
	int m_currentLocation;
	bool Parse();
	int CalcCheckSum();

	// data
	float m_WindUVW[3];
	float m_SpeedOfSound;
	float m_SonicTemp;

public:
	void Init(void);
	bool NewData(char* data, int len);
	float GetUVWData(int index);
	float GetSonicTemp();
	float GetSpeedOfSound();
};
